Skip to content

Login test#1

Open
ChekItOut wants to merge 30 commits intomainfrom
loginTest
Open

Login test#1
ChekItOut wants to merge 30 commits intomainfrom
loginTest

Conversation

@ChekItOut
Copy link
Contributor

No description provided.

ChekItOut and others added 30 commits February 4, 2026 15:21
- validateHandongEmail() ๋ฉ”์„œ๋“œ ์ถ”๊ฐ€
- loadUser() ๋ฉ”์„œ๋“œ์—์„œ DB ์ €์žฅ ์ „ ์ด๋ฉ”์ผ ๊ฒ€์ฆ ์‹คํ–‰
- OAuth2AuthenticationException์œผ๋กœ ๋น„์ธ๊ฐ€ ์‚ฌ์šฉ์ž ์ฐจ๋‹จ
- OAuth2Error import ์ถ”๊ฐ€

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- OAuth2SuccessHandler: saveRefreshToken ๋ฉ”์„œ๋“œ์—์„œ ๋งŒ๋ฃŒ์ผ ๊ณ„์‚ฐ ๋ฐ ์ €์žฅ
- RefreshToken ์—”ํ‹ฐํ‹ฐ: update ๋ฉ”์„œ๋“œ์— expiryDate ํŒŒ๋ผ๋ฏธํ„ฐ ์ถ”๊ฐ€
- LongkathonApplication: @EnableScheduling ์ถ”๊ฐ€ํ•˜์—ฌ ์Šค์ผ€์ค„๋Ÿฌ ํ™œ์„ฑํ™”
- TokenApiControllerTest: RefreshToken ์ƒ์„ฑ ์‹œ expiryDate ํŒŒ๋ผ๋ฏธํ„ฐ ์ถ”๊ฐ€

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— expiry_date ์ปฌ๋Ÿผ์ด ์ž๋™์œผ๋กœ ์ถ”๊ฐ€๋จ (nullable = false)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
๋ฌธ์ œ:
- ๋กœ๊ทธ์•„์›ƒ ์‹œ ์ฟ ํ‚ค๋Š” ๋งŒ๋ฃŒ๋˜์ง€๋งŒ DB์—์„œ RefreshToken์ด ์‚ญ์ œ๋˜์ง€ ์•Š์Œ

์›์ธ:
- RefreshTokenService.deleteByRefreshToken() ๋ฉ”์„œ๋“œ์— @transactional ๋ˆ„๋ฝ
- Spring Data JPA์˜ @Modifying ์ฟผ๋ฆฌ๋Š” Service ๋ ˆ์ด์–ด์—์„œ ํŠธ๋žœ์žญ์…˜ ํ•„์š”

ํ•ด๊ฒฐ:
- RefreshTokenService.deleteByRefreshToken()์— @transactional ์ถ”๊ฐ€

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant